<?php defined('SYSPATH') or die('No direct script access.');
 
class Model_Catalog extends Model {

    public function getAll() {
        $sql = "select * from catalog";
        return DB::query(Database::SELECT, $sql)->execute()->as_array();
    }


}